package com.stx.bean;

public class Blog1 {

	private int id;
	private int userid;
	private String title;
	private String content;
	private int cateid;
	
	public Blog1(){
		
	}
	
	public Blog1(int id, int userid, String title, String content) {
		super();
		this.id = id;
		this.userid = userid;
		this.title = title;
		this.content = content;
	
	}
	
	
	public Blog1( String title, String content,int cateid) {
		super();
	
		this.title = title;
		this.content = content;
		this.cateid=cateid;
	}
	
	public Blog1( int userid, String title, String content,int cateid) {
		super();
		this.userid = userid;
		this.title = title;
		this.content = content;
		this.cateid=cateid;
	}
	
	
	public Blog1(int id, int userid, String title, String content,int cateid) {
		super();
		this.id = id;
		this.userid = userid;
		this.title = title;
		this.content = content;
		this.cateid=cateid;
	}
	
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getUserid() {
		return userid;
	}
	public void setUserid(int userid) {
		this.userid = userid;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}


	public int getCateid() {
		return cateid;
	}


	public void setCateid(int cateid) {
		this.cateid = cateid;
	}
	
}
